#pragma once

#include "Object/Object.h"
#include "EditorStatusBarView.m.h"

class RWidget;
class REditorStatusBarViewModel;
class REditorStatusItemView;

RCLASS(ExtraHeader="StatusBar/EditorStatusItemView.h")
class REditorStatusBarView : public RObject
{
    ROBJECT
public:
    void BindViewModel(TSharedObjectPtr<REditorStatusBarViewModel> InModel);

    void FillWidgets(TSharedObjectPtr<RWidget> InParentWidget);

protected:
    TWeakObjectPtr<REditorStatusBarViewModel> BaseViewModel;

    RFIELD()
    TVector<TSharedObjectPtr<REditorStatusItemView>> Items;

};